<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>设置页面</title>
  <style>
    body {
      font-family: '微软雅黑', sans-serif;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 50px;
    }

    .section {
      border: 1px solid #d3d3d3;
      padding: 20px;
      margin: 10px;
      width: 80%;
      box-sizing: border-box;
    }

    .section h2 {
      margin-top: 0;
    }

    .input-group {
      display: flex;
      justify-content: space-between;
      margin: 10px 0;
    }

    select,
    input[type="text"],
    button {
      padding: 5px 10px;
      margin-right: 10px;
    }

    .buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
    }
  </style>
</head>

<body>

  <div class="section">
    <h2>网络设置</h2>
    <div class="input-group">
      <span>类型:</span>
      <select>
        <option>不使用代理</option>
        <option>HTTP代理</option>
        <option>SOCKS5代理</option>
        <option>使用浏览器设置</option>
      </select>
      <input type="text" placeholder="地址:">
      <input type="text" placeholder="端口:">
    </div>
    <div class="input-group">
      <input type="text" placeholder="用户名:">
      <input type="text" placeholder="密码:">
      <input type="text" placeholder="域:">
      <button>测试</button>
    </div>
  </div>

  <div class="section">
    <h2>登录服务器</h2>
    <div class="input-group">
      <span>类型:</span>
      <select>
        <option>不使用高级选项</option>
        <option>UDP类型</option>
        <option>TCP类型</option>
      </select>
      <input type="text" placeholder="地址:">
      <input type="text" placeholder="端口:">
    </div>
  </div>

  <div class="buttons">
    <button>确定</button>
    <button>取消</button>
  </div>

</body>

</html>